package com.example.springboot.service;
import com.example.springboot.pojo.Location;
import com.example.springboot.pojo.LocationRecord;
import com.github.pagehelper.PageInfo;

import java.util.List;
public interface LocationRecordService {

    void create(LocationRecord locationRecord);
    void delete(Integer id);
    List<LocationRecord> findAll();
    List<LocationRecord> fingByNumber(String numeber);
    List<LocationRecord> findByLocationId(Integer locationId);
    List<LocationRecord> findByUserId();
    void update(Integer id);
    PageInfo<LocationRecord> selectPage(Integer pageNum, Integer pageSize);

    void deleteBatch(List<Integer> ids);

    void updateByAdmin(Integer id);

    void updateByUser(Integer id);


}
